﻿using System;
using System.Data;

namespace ContractManagementSystem
{
    public partial class ReportLineManager : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            LoadReportClient();
        }
        /// <summary>
        /// Function LoadReportClient
        /// </summary>
        private void LoadReportClient()
        {
            var crystalReportLineManager = new CrystalReportLineManager();
            crystalReportLineManager.SetDataSource((DataTable)Session["ReportClient"]);
            LineManagerCrystalReportViewer.ReportSource = crystalReportLineManager;
            LineManagerCrystalReportViewer.DisplayGroupTree = false;
            LineManagerCrystalReportViewer.RefreshReport();
        }
    }
}
